import React from "react";
import { Route, HashRouter as Router, Routes } from "react-router-dom";
import Login from "@/pages/login";
import System from "@/pages/system";
import School from "@/pages/school";
import NotFound from "@/pages/notFound";

const App: React.FC = () => (
  <Router>
    <Routes>
      <Route path="/" element={<Login />}></Route>
      <Route path="/system" element={<System />}></Route>
      <Route path="/school" element={<School />}></Route>
      <Route element={<NotFound />}></Route>
    </Routes>
  </Router>
);

export default App;
